package com.example.cupid.mapper;

import com.example.cupid.pojo.Admin;
import com.example.cupid.pojo.User;

import java.util.List;


public interface UserMapper {

    //查询所有用户信息
    List<User> findAll();
    //登录
    User loginUser(String email,String password);
    boolean regUser(String email,String password,String username);

    User selectUserByEmail(String email);

    Admin selectAdmin(String email,String password);
}
